import React from  'react'
import utils from '../../common/utils'
import './index.less'

export default class DownloadPage extends React.PureComponent {
    componentDidMount() {
        const ua = window.navigator.userAgent.toLowerCase()
        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
            //遮罩
        } else {
            //下载
            window.location.href = utils.getQueryString('url')
        }
    }

    render () {
        return (
            <div class="wxtip">
                <img src={require('./live_weixin.png')}/>
            </div>
        )
    }
}